package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("BasicDataSource")
@Table("basic_data_source")
public class BasicDataSource implements Serializable {

    @ApiModelProperty(value = "连接账户", name = "sourceUname")
    @Column(value = "source_uname", text = "连接账户", maxLength = 100)
    private String sourceUname;


    @ApiModelProperty(value = "连接密码", name = "sourceUpwd")
    @Column(value = "source_upwd", text = "连接密码", maxLength = 100)
    private String sourceUpwd;


    @ApiModelProperty(value = "数据库类型", name = "sourceType")
    @Column(value = "source_type", text = "数据库类型", maxLength = 5)
    private String sourceType;


    @ApiModelProperty(value = "数据库连接驱动", name = "sourceDriver")
    @Column(value = "source_driver", text = "数据库连接驱动", maxLength = 100)
    private String sourceDriver;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "数据源键", name = "sourceKey")
    @Column(value = "source_key", text = "数据源键", maxLength = 100)
    private String sourceKey;


    @ApiModelProperty(value = "连接字符串", name = "sourceUrl")
    @Column(value = "source_url", text = "连接字符串", maxLength = 100)
    private String sourceUrl;

    public String getSourceUname() {
        return sourceUname;
    }

    public void setSourceUname(String sourceUname) {
        this.sourceUname = sourceUname;
    }

    public String getSourceUpwd() {
        return sourceUpwd;
    }

    public void setSourceUpwd(String sourceUpwd) {
        this.sourceUpwd = sourceUpwd;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getSourceDriver() {
        return sourceDriver;
    }

    public void setSourceDriver(String sourceDriver) {
        this.sourceDriver = sourceDriver;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSourceKey() {
        return sourceKey;
    }

    public void setSourceKey(String sourceKey) {
        this.sourceKey = sourceKey;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }
}
